import requests

def get_html(url, encoding='utf-8', auth=None):
    resp = requests.get(url)
    resp.encoding = encoding  # 设定网页编码
    return resp
